package com.ruoyi.project.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 手机归属地对象 biz_phone_num
 * 
 * @author ruoyi
 * @date 2024-03-30
 */
public class BizPhoneNum extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 省份名称 */
    @Excel(name = "省份名称")
    private String province;

    /** 地市名称 */
    @Excel(name = "地市名称")
    private String city;

    /** 运营商 */
    @Excel(name = "运营商")
    private String isp;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String postCode;

    /** 区号 */
    @Excel(name = "区号")
    private String cityCode;

    /** 行政区划编码 */
    @Excel(name = "行政区划编码")
    private String areaCode;

    /** 号段 */
    @Excel(name = "号段")
    private String prefix;

    /** $column.columnComment */
    private Long id;

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setIsp(String isp) 
    {
        this.isp = isp;
    }

    public String getIsp() 
    {
        return isp;
    }
    public void setPostCode(String postCode) 
    {
        this.postCode = postCode;
    }

    public String getPostCode() 
    {
        return postCode;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setAreaCode(String areaCode) 
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode() 
    {
        return areaCode;
    }
    public void setPrefix(String prefix) 
    {
        this.prefix = prefix;
    }

    public String getPrefix() 
    {
        return prefix;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("phone", getPhone())
            .append("province", getProvince())
            .append("city", getCity())
            .append("isp", getIsp())
            .append("postCode", getPostCode())
            .append("cityCode", getCityCode())
            .append("areaCode", getAreaCode())
            .append("prefix", getPrefix())
            .append("id", getId())
            .toString();
    }
}
